﻿using Core.Dtos;
using Core.Messages;
using Core.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace Core.IServices
{
    [ServiceContract()]
    public interface IManageUserService : IManageCrudService<string, UserDto, UserQuery>
    {
        [OperationContract()]
        QueryResponse<RoleDto> GetRoles(string id);

        [OperationContract()]
        Response AddToRole(string id, string role);

        [OperationContract()]
        Response RemoveFromRole(string id, string role);
    }
}
